.result-container {
  min-height: 100vh;
  background-color: #f8f8f8;
  padding: 40rpx;
}

.status-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60rpx 0;
  background: #fff;
  border-radius: 16rpx;
  margin-top: 40rpx;
  animation: slideDown 0.5s ease-out;

  .status-icon {
    animation: scaleIn 0.6s ease-out;

    &.rotating {
      animation: rotating 2s linear infinite;
    }
  }

  .status-text {
    font-size: 36rpx;
    font-weight: 500;
    margin-top: 20rpx;
  }

  .amount {
    font-size: 48rpx;
    font-weight: bold;
    margin-top: 30rpx;
    font-family: DIN;
  }

  &.success {
    box-shadow: 0 4rpx 16rpx rgba(7, 193, 96, 0.1);
  }

  &.fail {
    box-shadow: 0 4rpx 16rpx rgba(255, 77, 79, 0.1);
  }

  &.pending {
    box-shadow: 0 4rpx 16rpx rgba(250, 173, 20, 0.1);
  }
}

.order-info {
  background: #fff;
  border-radius: 16rpx;
  padding: 30rpx;
  margin-top: 30rpx;
  animation: slideUp 0.5s ease-out 0.2s both;

  .info-item {
    display: flex;
    justify-content: space-between;
    padding: 20rpx 0;
    border-bottom: 2rpx solid #f5f5f5;

    &:last-child {
      border-bottom: none;
    }

    .label {
      color: #666;
      font-size: 28rpx;
    }

    .value {
      color: #333;
      font-size: 28rpx;
    }
  }
}

.button-group {
  margin-top: 60rpx;
  animation: fadeIn 0.5s ease-out 0.4s both;

  .btn {
    width: 100%;
    height: 88rpx;
    border-radius: 44rpx;
    font-size: 32rpx;
    margin-bottom: 30rpx;
    display: flex;
    align-items: center;
    justify-content: center;

    &.primary {
      background: linear-gradient(135deg, #8155f0, #6b42ef);
      color: #fff;
    }

    &.secondary {
      background: #fff;
      color: #333;
      border: 2rpx solid #ddd;
    }
  }
}

// 动画关键帧
@keyframes slideDown {
  from {
    transform: translateY(-20rpx);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20rpx);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
